package edu.ctbu.insurance.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author djl
 * @since 2024-06-28
 */
@TableName("t_claim")
public class Claim implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID，主键，自增
     */
    @TableId(value = "claim_id", type = IdType.AUTO)
    private Integer id;

    /**
     * 理赔ID
     */
    private String claimId;

    /**
     * 保单ID，关联policies表
     */
    private String policyId;

    /**
     * 理赔申请日期
     */
    private String claimDate;

    /**
     * 理赔金额
     */
    private String claimAmount;

    /**
     * 理赔状态：完成（success）、执行中（process）、不通过（error）
     */
    private String status;

    /**
     * 当前理赔流程执行的步骤
     */
    private Integer steps;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getClaimId() {
        return claimId;
    }

    public void setClaimId(String claimId) {
        this.claimId = claimId;
    }

    public String getPolicyId() {
        return policyId;
    }

    public void setPolicyId(String policyId) {
        this.policyId = policyId;
    }

    public String getClaimDate() {
        return claimDate;
    }

    public void setClaimDate(String claimDate) {
        this.claimDate = claimDate;
    }

    public String getClaimAmount() {
        return claimAmount;
    }

    public void setClaimAmount(String claimAmount) {
        this.claimAmount = claimAmount;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getSteps() {
        return steps;
    }

    public void setSteps(Integer steps) {
        this.steps = steps;
    }

    @Override
    public String toString() {
        return "Claim{" +
                "id=" + id +
                ", claimId='" + claimId + '\'' +
                ", policyId='" + policyId + '\'' +
                ", claimDate='" + claimDate + '\'' +
                ", claimAmount='" + claimAmount + '\'' +
                ", status='" + status + '\'' +
                ", steps=" + steps +
                '}';
    }
}
